#include <bits/stdc++.h>
using namespace std;
int main()
{
	double m,n;
	cin >> m >> n;
	double mixd=1e9;
	while(m--)
	{
		double a,b;
		cin >> a >> b;
		mixd=min(mixd,a/b);
	}
	cout << fixed << setprecision(10) << n*mixd << endl;
}
